import { BaseEntity } from "src/common/entity/BaseEntity";
import { Entity, Column } from "typeorm";

@Entity("label", { comment: "标签表" })
export class Label extends BaseEntity {
  // 标签名称
  @Column({ comment: "标签名称" })
  title: string;

  // 标签别名
  @Column({ comment: "标签别名" })
  alias: string;

  // 标签描述
  @Column({ comment: "标签描述" })
  describe: string;
}
